package com.self.member.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "登录成功的用户")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginUserResultVo {

    @ApiModelProperty(value = "用户名称")
    private String username ;

    @ApiModelProperty(value = "token的过期时间")
    private Long expire ;

    @ApiModelProperty(value = "access_token")
    @JsonProperty("access_token")
    private String accessToken ;

    @ApiModelProperty(value = "refreshToken")
    @JsonProperty("refresh_token")
    private String refreshToken ;

}
